import axios from "axios";
axios.defaults.baseURL="http://47.108.197.28:3000/"
// axios.defaults.withCredentials=true;
// axios.defaults.crossDomain =true
class Http {
    static request({url,method="get",data={},params={}}){
        return axios({
            url,
            method,
            data,
            params
        })
    }
}
export default Http;